package com.pg.free.util;

import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.graphics.FPSLogger;

public class Logger {

	private static FPSLogger fpsLogger;
	
	private Logger(){
		
	}
	
	public static void debug(String tag, String message){
		Gdx.app.debug(tag, message);
	}
	
	public static void log(String tag, String message){
		Gdx.app.log(tag, message);
	}
	
	public static void fpsLog(){
		if (fpsLogger == null){
			fpsLogger = new FPSLogger();
		}
		fpsLogger.log();
	}
}
